﻿@page "/PageDetailInput"
<AuthorizeView Roles="前工序">
    <Authorized>
        <ComponentDetailInput />
    </Authorized>
    <NotAuthorized>
        <AuthorizeView>
            <Authorized Context="abc">
                <div>您目前登录的账号没有包含<strong class="text-danger">前工序</strong>角色。</div>

                <br />
                <div>请<a href="Identity/Account/Login">登录</a>包含<strong class="text-danger">前工序</strong>角色的账号进行操作。</div>
            </Authorized>
            <NotAuthorized Context="abc">
                <label>您未登录！请<a href="Identity/Account/Login">登录</a>后进行操作。</label>
            </NotAuthorized>
        </AuthorizeView>
    </NotAuthorized>
</AuthorizeView>

@code {
    [Parameter]
    public string Guid { get; set; }
}
